package com.personalblog.service;

import com.personalblog.po.Type;

import java.util.List;

/**
 * @author jxau_scf
 * @date 2021/3/23 - 21:15
 */
public interface TypeService {
    int insertType(Type type);
    int deleteType(int typeId);
    int updateType(int typeId,Type type);
    Type findTypeById(int typeId);
    Type findTypeByName(String typeName);
    List<Type> findTypes();
    List<Type> findTypesFetchBlogs();
}
